package com.zhj.rpc10;

import com.zhj.common.service.IProductService;

/**
 * @author zhj
 */
public class Client {

    public static void main(String[] args) {
        // 代理模式
        IProductService service = (IProductService) Stub.getStub(IProductService.class);
        System.out.println(service.findProductById(321));
    }
}
